package com.rbac.entity.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.rbac.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysRoleVo extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 角色级别
     */
    private Integer level;

    /**
     * 描述
     */
    private String description;

    /**
     * 数据权限
     */
    private String dataScope;

    private Boolean enabled;


    private List<SysMenuVo> menus;

    private List<Long> menuIds;


    private List<Long> apiIds;

}
